package com.alioth;

/**
 * @Author tsj
 * @Date 2023/11/21/17:08
 */
public class IHaveNatives {

    public native void methodNative1(int x);
    public native static long methodNative2();
    private native  synchronized float methodNative3(Object o);
    native  void methodNative4(int[] ary)throws Exception;

    //Exception in thread "main" java.lang.UnsatisfiedLinkError: com.alioth.IHaveNatives.methodNative2()J
    public static void main(String[] args) {
        long l = IHaveNatives.methodNative2();
        System.out.println(l);
    }

}
